package com.linjuke.childay.biz.dao;

import android.content.Context;

import com.linjuke.childay.biz.dao.sqlite.ItemDAOSqlite;

public class DaoFactory {
	
	private static ItemDAOSqlite itemDAOSqlite;
	
	public static void init(Context context) {
		itemDAOSqlite = new ItemDAOSqlite(context, ItemDAOSqlite.ITEM_DB_NAME, null, ItemDAOSqlite.VERSION);
	}
	
	public static ItemDAO getItemDAO() {
		return itemDAOSqlite;
	}

}
